package fun.taostool.vo;

import java.util.List;

public class Field {
    private String name;
    private List<Object> type;

    // Constructor
    public Field(String name, List<Object> type) {
        this.name = name;
        this.type = type;
    }

    // Getters and Setters
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Object> getType() {
        return type;
    }

    public void setType(List<Object> type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Field{" +
                "name='" + name + '\'' +
                ", type=" + type +
                '}';
    }
}